package com.iv.durian.cloud.dao;

import com.iv.durian.cloud.StudentLession;
import com.iv.durian.cloud.dao.mapper.StudentLessonMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class StudentLessonDao {

    @Autowired
    private StudentLessonMapper studentLessonMapper;

    public StudentLession get(Integer id){ return studentLessonMapper.get(id); }

    public int add(StudentLession studentLession){ return studentLessonMapper.add(studentLession); }

    public int updateStatust(StudentLession studentLession){ return studentLessonMapper.updateStatust(studentLession); }

    public int update(StudentLession studentLession){ return studentLessonMapper.update(studentLession); }

    public int remove(Integer id){ return studentLessonMapper.remove(id); }
}
